package com.yanqu.road.utils.monitor;

public class ThreadPoolInfo {
	private String threadPoolName;

	private int activeCount;

	private int poolSize;

	private int queueSize;

	private long taskCount;

	private long completedTaskCount;

	public String getThreadPoolName() {
		return threadPoolName;
	}

	public void setThreadPoolName(String threadPoolName) {
		this.threadPoolName = threadPoolName;
	}

	public int getActiveCount() {
		return activeCount;
	}

	public void setActiveCount(int activeCount) {
		this.activeCount = activeCount;
	}

	public int getPoolSize() {
		return poolSize;
	}

	public void setPoolSize(int poolSize) {
		this.poolSize = poolSize;
	}

	public int getQueueSize() {
		return queueSize;
	}

	public void setQueueSize(int queueSize) {
		this.queueSize = queueSize;
	}

	public long getTaskCount() {
		return taskCount;
	}

	public void setTaskCount(long taskCount) {
		this.taskCount = taskCount;
	}

	public long getCompletedTaskCount() {
		return completedTaskCount;
	}

	public void setCompletedTaskCount(long completedTaskCount) {
		this.completedTaskCount = completedTaskCount;
	}

	/**
	 * @param threadPoolName
	 * @param activeCount
	 * @param poolSize
	 * @param queueSize
	 * @param taskCount
	 * @param completedTaskCount
	 */
	public ThreadPoolInfo(String threadPoolName, int activeCount, int poolSize, int queueSize, long taskCount,
			long completedTaskCount) {
		super();
		this.threadPoolName = threadPoolName;
		this.activeCount = activeCount;
		this.poolSize = poolSize;
		this.queueSize = queueSize;
		this.taskCount = taskCount;
		this.completedTaskCount = completedTaskCount;
	}

}
